Skip to content

[PWGEM] Add optional PCM material-budget weights in PCMPCM#15139

Open
yelmardb wants to merge 8 commits intoAliceO2Group:masterfrom
yelmardb:yelmard-pcmpcm-omega-mb-weights
Open

[PWGEM] Add optional PCM material-budget weights in PCMPCM#15139
yelmardb wants to merge 8 commits intoAliceO2Group:masterfrom
yelmardb:yelmard-pcmpcm-omega-mb-weights

Conversation

@yelmardb
Copy link
Contributor

Add a V0 photon material-budget weight table (Omega MB weights) and join it in the PCMPCM pi0/eta workflow. The weights are applied only when the joined column is available, using compile-time guarded access.

Introduce a configurable switch (runWithMBWeights) in MaterialBudgetWeights:

  • false: no CCDB query, write weight=1
  • true: require CCDB histogram and abort if missing

@github-actions github-actions bot changed the title Add optional PCM material-budget weights in PCMPCM [PWGEM] Add optional PCM material-budget weights in PCMPCM Feb 24, 2026
@yelmardb yelmardb force-pushed the yelmard-pcmpcm-omega-mb-weights branch 3 times, most recently from af257e1 to 9476160 Compare February 24, 2026 13:03
@alibuild
Copy link
Collaborator

alibuild commented Feb 28, 2026

Error while checking build/O2Physics/o2 for 811cfa0 at 2026-03-02 23:35:

## sw/BUILD/O2Physics-latest/log
c++: fatal error: Killed signal terminated program cc1plus
c++: fatal error: Killed signal terminated program cc1plus
ninja: build stopped: subcommand failed.

Full log here.

@yelmardb yelmardb force-pushed the yelmard-pcmpcm-omega-mb-weights branch from 811cfa0 to 12fbfb5 Compare March 11, 2026 15:01
@github-actions github-actions bot added the photon Photon and neutral meson PAG label label Mar 11, 2026
yelmardb added a commit to yelmardb/O2Physics that referenced this pull request Mar 11, 2026
Please consider the following formatting changes to AliceO2Group#15139
@mhemmer-cern mhemmer-cern marked this pull request as draft March 11, 2026 15:19
@yelmardb yelmardb force-pushed the yelmard-pcmpcm-omega-mb-weights branch from 2f485d9 to fed7576 Compare March 11, 2026 15:38
Youssef El Mard Bouziani added 4 commits March 11, 2026 16:54
Add a V0 photon material-budget weight table (Omega MB weights) and join it
in the PCMPCM pi0/eta workflow. The weights are applied only when the joined
column is available, using compile-time guarded access.

Introduce a configurable switch (runWithMBWeights) in MaterialBudgetWeights:
- false: no CCDB query, write weight=1
- true: require CCDB histogram and abort if missing
@yelmardb yelmardb force-pushed the yelmard-pcmpcm-omega-mb-weights branch from fed7576 to 8b00868 Compare March 11, 2026 15:54
@vkucera
Copy link
Collaborator

vkucera commented Mar 11, 2026

@yelmardb Why don't you just merge the automatic formatting PR instead of attempting to fix it manually?

Copy link
Collaborator

@mhemmer-cern mhemmer-cern left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two minor comments

@yelmardb yelmardb requested a review from mhemmer-cern March 11, 2026 19:12
@mhemmer-cern mhemmer-cern marked this pull request as ready for review March 11, 2026 20:13
Copy link
Collaborator

@mhemmer-cern mhemmer-cern left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One more comment. The adaptAnalysisTask<MaterialBudgetWeights>(cfgc) lines in the Pi0EtaToGammaGammaXXX.cxx files should not be there. The materialBudgetWeights.cxx is already taking care of it.

WorkflowSpec defineDataProcessing(ConfigContext const& cfgc)
{
return WorkflowSpec{
adaptAnalysisTask<MaterialBudgetWeights>(cfgc),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this line should not be here

WorkflowSpec defineDataProcessing(ConfigContext const& cfgc)
{
return WorkflowSpec{
adaptAnalysisTask<MaterialBudgetWeights>(cfgc),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

datamodel photon Photon and neutral meson PAG label pwgem

Development

Successfully merging this pull request may close these issues.

4 participants